/* 
 * File:   main.cpp
 * Author: ong
 *
 * Created on February 6, 2013, 12:50 AM
 */

#include <cstdlib>
//#include "Database.h"
#include "lecturer.h"
using namespace std;



int main()
{
    string userName;
    string PW;
    stringstream ss;
    
    cout << "Enter username: ";
    cin >> 
    
    Database *db;
    db = new Database("ex1.db");
    //query()
    vector < vector<string> > result = db -> query ("select * from USER;");
    for (vector<vector<string> >:: iterator it = result.begin(); it < result.end(); ++it)
    {
        vector< string > row = *it;
        //cout << row.at(0) << " " << row.at(1) << endl;
        //if (row.at(0) ==  
    }    
    //db = new Database("test.db");
    //sqlite3_close(datebase);
    db ->close();
    return 0;
}

